<!doctype html>

<html lang="en" xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
    <meta name="generator" content="Hugo 0.80.0">
    <title>Signin Template · Bootstrap v4.6</title>

    <!-- Bootstrap core CSS -->
    <link href="/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
    <!--    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-LCPyFKQyML7mqtS+4XytolfqyqSlcbB3bvDuH9vX2sdQMxRonb/M3b9EmhCNNNrV" crossorigin="anonymous"></script>-->
    <style>
        .bd-placeholder-img {
            font-size: 1.125rem;
            text-anchor: middle;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }
        @media (min-width: 768px) {
            .bd-placeholder-img-lg {
                font-size: 3.5rem;
            }
        }
    </style>
    <script type="text/javascript" >

        // var x=document.getElementById("demo");
        // function getLocation()
        // {
        // if (navigator.geolocation)
        // {
        // navigator.geolocation.getCurrentPosition(showPosition);
        // }
        // else
        // {
        // x.innerHTML="该浏览器不支持获取地理位置。";
        // }
        // }
        //
        // function showPosition(position)
        // {
        // x.innerHTML="纬度: " + position.coords.latitude +
        // "<br>经度: " + position.coords.longitude;
        // }
    </script>
    <!-- Custom styles for this template -->
    <link href="/css/signin.css" rel="stylesheet">
</head>
<body class="text-center">

<form class="form-signin" th:action="@{/user/register}">
    <img class="mb-4" src="/img/han.jpg" alt="" width="72" height="72">
    <!--  <img class="mb-4" src="han2.png" alt="" width="72" height="72">-->

    <h1 class="h3 mb-3 font-weight-normal">Please register in</h1>


<!--    <p  style="color: red"  th:text="${msg} "th:if="${! #strings.isEmpty(msg)}" ></p>-->



    <label for="inputName"  class="sr-only">User Name</label>
    <input type="Name" name="username" id="inputName" class="form-control" placeholder="User Name" required autofocus>
    <label for="inputPassword" class="sr-only">Password</label>
    <input type="password"  name="password" id="inputPassword" class="form-control" placeholder="Password" required>
<!--    <div class="checkbox mb-3">-->
<!--        <label>-->
<!--            <input type="checkbox" value="remember-me">-->
<!--        </label>-->
<!--    </div>-->
    <button class="btn btn-lg btn-primary btn-block" type="submit" >注册</button>
<!--    <a href="/register.html" class="btn btn-lg btn-primary btn-block">注册</a>-->

    <!--   <button class="btn btn-lg btn-primary btn-block" type="" >Register in</button>-->
</form>

</body>
</html>
